home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _D123F327A1FF41BCABAFF5E4623F4228 < prev    next >
Encoding:
Text File  |  2006-08-04  |  4.6 KB  |  140 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00 Beta 20030407.11'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': r'', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': r'', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': 600, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': r'', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': r'Avery', 
  38.         'Template': [{
  39.             'CellPosition': (0.3075,1.12), 
  40.             'CellSize': (3.885,1.385), 
  41.             'ImagePlacement': 2, 
  42.             'ImagePath': r'', 
  43.             'RotationAngle': 0, 
  44.             'ImagePosition': (0,0), 
  45.             'ImageSize': (0,0)
  46.             },{
  47.             'CellPosition': (0.3075,2.62), 
  48.             'CellSize': (3.885,1.385), 
  49.             'ImagePlacement': 2, 
  50.             'ImagePath': r'', 
  51.             'RotationAngle': 0, 
  52.             'ImagePosition': (0,0), 
  53.             'ImageSize': (0,0)
  54.             },{
  55.             'CellPosition': (0.3075,4.12), 
  56.             'CellSize': (3.885,1.385), 
  57.             'ImagePlacement': 2, 
  58.             'ImagePath': r'', 
  59.             'RotationAngle': 0, 
  60.             'ImagePosition': (0,0), 
  61.             'ImageSize': (0,0)
  62.             },{
  63.             'CellPosition': (0.3075,5.62), 
  64.             'CellSize': (3.885,1.385), 
  65.             'ImagePlacement': 2, 
  66.             'ImagePath': r'', 
  67.             'RotationAngle': 0, 
  68.             'ImagePosition': (0,0), 
  69.             'ImageSize': (0,0)
  70.             },{
  71.             'CellPosition': (0.3075,7.12), 
  72.             'CellSize': (3.885,1.385), 
  73.             'ImagePlacement': 2, 
  74.             'ImagePath': r'', 
  75.             'RotationAngle': 0, 
  76.             'ImagePosition': (0,0), 
  77.             'ImageSize': (0,0)
  78.             },{
  79.             'CellPosition': (0.3075,8.62), 
  80.             'CellSize': (3.885,1.385), 
  81.             'ImagePlacement': 2, 
  82.             'ImagePath': r'', 
  83.             'RotationAngle': 0, 
  84.             'ImagePosition': (0,0), 
  85.             'ImageSize': (0,0)
  86.             },{
  87.             'CellPosition': (4.3075,1.12), 
  88.             'CellSize': (3.885,1.385), 
  89.             'ImagePlacement': 2, 
  90.             'ImagePath': r'', 
  91.             'RotationAngle': 0, 
  92.             'ImagePosition': (0,0), 
  93.             'ImageSize': (0,0)
  94.             },{
  95.             'CellPosition': (4.3075,2.62), 
  96.             'CellSize': (3.885,1.385), 
  97.             'ImagePlacement': 2, 
  98.             'ImagePath': r'', 
  99.             'RotationAngle': 0, 
  100.             'ImagePosition': (0,0), 
  101.             'ImageSize': (0,0)
  102.             },{
  103.             'CellPosition': (4.3075,4.12), 
  104.             'CellSize': (3.885,1.385), 
  105.             'ImagePlacement': 2, 
  106.             'ImagePath': r'', 
  107.             'RotationAngle': 0, 
  108.             'ImagePosition': (0,0), 
  109.             'ImageSize': (0,0)
  110.             },{
  111.             'CellPosition': (4.3075,5.62), 
  112.             'CellSize': (3.885,1.385), 
  113.             'ImagePlacement': 2, 
  114.             'ImagePath': r'', 
  115.             'RotationAngle': 0, 
  116.             'ImagePosition': (0,0), 
  117.             'ImageSize': (0,0)
  118.             },{
  119.             'CellPosition': (4.3075,7.12), 
  120.             'CellSize': (3.885,1.385), 
  121.             'ImagePlacement': 2, 
  122.             'ImagePath': r'', 
  123.             'RotationAngle': 0, 
  124.             'ImagePosition': (0,0), 
  125.             'ImageSize': (0,0)
  126.             },{
  127.             'CellPosition': (4.3075,8.62), 
  128.             'CellSize': (3.885,1.385), 
  129.             'ImagePlacement': 2, 
  130.             'ImagePath': r'', 
  131.             'RotationAngle': 0, 
  132.             'ImagePosition': (0,0), 
  133.             'ImageSize': (0,0)
  134.             }]
  135.         }
  136.  
  137. def Do(Environment):
  138.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  139.  
  140.